package com.ruoyi;

import com.ctvit.cch.ai.CchAiLibrary;
import com.ctvit.cch.core.CchCoreLibrary;
import com.ctvit.cch.web.CchWebLibrary;
import dev.langchain4j.openai.spring.AutoConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;

/**
 * 启动程序
 *
 * @author ruoyi
 */
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.EnableScheduling;

@Slf4j
@EnableScheduling
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class}, scanBasePackageClasses = {RuoYiApplication.class, CchCoreLibrary.class, CchWebLibrary.class, CchAiLibrary.class, AutoConfig.class})
public class RuoYiApplication {
    public static void main(String[] args) {
        // System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(RuoYiApplication.class, args);
        log.info("短视频创意平台启动成功");
    }
}
